﻿
using SUNRPA.CONTROLS.IMPL.domain.attrubutes;

namespace SUNRPA.CONTROLS.IMPL.domain.flowRunningVar {
    [ClassInfo("布尔")]
    public class BoolModel : RPAVariable {
        private bool boolValue;
        public bool BoolValue { 
            get { return boolValue; }
            set { boolValue = value; }
        }
        public BoolModel(string name, bool value) { 
            VarName = name;
            BoolValue = value;   
        }
        [VariableMemberInfo("转成字符串")]
        public override string ToString() { 
            return boolValue.ToString();
        }
    }
}
